package com.unitedvision.persistence.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.unitedvision.persistence.domain.GoodsEntity;
import com.unitedvision.persistence.domain.GoodsTypeEntity;

public interface GoodsRepository extends JpaRepository<GoodsEntity, Integer> {
	List<GoodsEntity> findByType(GoodsTypeEntity type);
}
